#!/usr/bin/env python
# encoding: utf-8

import argparse







if  __name__ == '__main__':

    parser = argparse.ArgumentParser(prog='My Test Program',
                                    usage='%(prog)s [options]',
                                    formatter_class=argparse.RawTextHelpFormatter,#RawTextHelpFormatter MetavarTypeHelpFormatter  ArgumentDefaultsHelpFormatter
                                    description=('''\
        Please do not mess up this text!
        --------------------------------
            I have indented it
            exactly the way
            I want it'''),
                                    epilog="And that's how you'd foo a bar",
                                    add_help=False)
    parser.add_argument('-king','--king',help='foo of the %(prog)s ')
    parser.add_argument('--foo', type=int, default=42, help='FOO!')
    parser.add_argument('-d','--dest',action='store_const', const=42)
    parser.add_argument('--baz', action='store_false')
    parser.print_help()